package com.smartlbs.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 		人员信息实体类
 * 
 * 
 *
 */
public class UserBasic implements Serializable{
	
	private static final long serialVersionUID = 9218848809735732863L;

	/*
	 * 用户id
	 */
	private Long userId;
	
	/*
	 * 昵称
	 */
	private String nickname;
	
	/*
	 * 头像
	 */
	private String headPhoto;
	
	/*
	 * 支付密码，需加密
	 */
	private String payPwd;
	
	/*
	 * 性别 1-男 2-女
	 */
	private Integer sex;
	
	/*
	 * 微信开放码
	 */
	private String openId;
	
	/*
	 * 微信唯一码，unionid
	 */
	private String unionid;
	
	/*
	 * 手机号
	 */
	private String phone;
	
	/*
	 * 验证码
	 */
	private String loginCode;
	
	/*
	 * 验证码发送时间
	 */
	private Date codeTime;
	
	/*
	 * 最后登录时间
	 */
	private Date lastLogin;
	
	/*
	 * 积分
	 */
	private String points;
	
	/*
	 * 创建时间
	 */
	private Date createTime;
	
	/*
	 *socke通信唯一标识
	 */
	private String sessionId;
	
	public String getUnionid() {
		return unionid;
	}
	public void setUnionid(String unionid) {
		this.unionid = unionid;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getHeadPhoto() {
		return headPhoto;
	}
	public void setHeadPhoto(String headPhoto) {
		this.headPhoto = headPhoto;
	}
	public String getPayPwd() {
		return payPwd;
	}
	public void setPayPwd(String payPwd) {
		this.payPwd = payPwd;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getLoginCode() {
		return loginCode;
	}
	public void setLoginCode(String loginCode) {
		this.loginCode = loginCode;
	}
	public Date getCodeTime() {
		return codeTime;
	}
	public void setCodeTime(Date codeTime) {
		this.codeTime = codeTime;
	}
	public Date getLastLogin() {
		return lastLogin;
	}
	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}
	public String getPoints() {
		return points;
	}
	public void setPoints(String points) {
		this.points = points;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	

}
